package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 咨询服务类型业务对象 p_server_type
 *
 * @author ruoyi
 * @date 2022-08-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("咨询服务类型业务对象")
public class PServerTypeBo extends BaseEntity {

    /**
     * 
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 咨询师类型
     */
    @ApiModelProperty(value = "咨询师类型", required = true)
    @NotBlank(message = "咨询师类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 包月价格
     */
    @ApiModelProperty(value = "包月价格", required = true)
    @NotBlank(message = "包月价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 咨询价格
     */
    @ApiModelProperty(value = "咨询价格", required = true)
    @NotNull(message = "咨询价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal price;

    /**
     * 咨询时长
     */
    @ApiModelProperty(value = "咨询时长", required = true)
    @NotNull(message = "咨询时长不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer askTime;

    /**
     * 折扣
     */
    @ApiModelProperty(value = "折扣", required = true)
    @NotBlank(message = "折扣不能为空", groups = { AddGroup.class, EditGroup.class })
    private String welfare;


}
